const obj1 = {
  sayHi: function() {
    console.log('Hi');
  }
}
obj1.sayHi()